<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
		<title></title>
		<style type="text/css">
			html,body{height: 100%;width: 100%;margin:0;padding:0;}  
			body{  
			    background:url(http://wx.bjysjglasses.com/static/wxshop/upload/crm_app/iosalert.jpg)no-repeat;  
			    width:100%;  
			    height:100%;  
			    background-size:100% 100%;  
			    position:absolute;  
			    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='bg-login.png',sizingMethod='scale');  
			    }
		</style>
		<script type="text/javascript">
			var u = navigator.userAgent;
			var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
			var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
			if(isAndroid){
				//document.getElementById('main').innerText=u;
				location.href='http://wx.bjysjglasses.com/static/wxshop/upload/crm_app/ysj.apk';
			}else if(isiOS){
				//alert("暂不支持下载");
				//location.href='http://wx.bjysjglasses.com/static/wxshop/upload/crm_app/YSJOptometrist.ipa';
			}
		</script>
	</head>
	
	<body>
		
	</body>
</html>
